package com.fang.zuoye;

public class TestDriver {
    public static void main(String[] args) {
        TaiYang tai = new TaiYang();
        wuTi wu = new wuTi();
        floor flo = new floor();

        tai.setSunName("太阳");
        tai.setSun("太阳光");
        String str1 = tai.faGuang();
        String str2 = tai.zhaoShe();

        wu.setWuName("树");
        String str3 = wu.fanShe();

        flo.setFloorName("地面");
        flo.setFloorYing("倒影");
        String str4 = flo.daoYing();

        System.out.println(tai.getSunName()+str1+tai.getSun()+str2+wu.getWuName()+str3+flo.getFloorName()+str4+flo.getFloorYing());
    }
}
